package com.atguigu.spring5;

public class Orders {

    private String oname;

    private String address;

    // 有参数构造注入
    public Orders(String oname, String address) {
        this.oname = oname;
        this.address = address;
    }

    public void testDemo() {
        System.out.println(oname + "::" + address);
    }
}
